home *** CD-ROM | disk | FTP | other *** search
/ Columbia Kermit / kermit.zip / newsgroups / misc.19971216-19980424 / 000280_news@newsmaster….columbia.edu _Thu Mar 5 15:59:10 1998.msg < prev    next >
Internet Message Format  |  2020-01-01  |  3KB

  1. Return-Path: <news@newsmaster.cc.columbia.edu>
  2. Received: from newsmaster.cc.columbia.edu (newsmaster.cc.columbia.edu [128.59.35.30])
  3.     by watsun.cc.columbia.edu (8.8.5/8.8.5) with ESMTP id PAA24329
  4.     for <kermit.misc@watsun.cc.columbia.edu>; Thu, 5 Mar 1998 15:59:10 -0500 (EST)
  5. Received: (from news@localhost)
  6.     by newsmaster.cc.columbia.edu (8.8.5/8.8.5) id PAA15225
  7.     for kermit.misc@watsun; Thu, 5 Mar 1998 15:59:09 -0500 (EST)
  8. Path: news.columbia.edu!watsun.cc.columbia.edu!jaltman
  9. From: jaltman@watsun.cc.columbia.edu (Jeffrey Altman)
  10. Newsgroups: comp.protocols.kermit.misc
  11. Subject: Re: Catching errors with line or modem ?
  12. Date: 5 Mar 1998 20:59:07 GMT
  13. Organization: Columbia University
  14. Lines: 56
  15. Message-ID: <6dn3mr$9s2$1@apakabar.cc.columbia.edu>
  16. References: <6dmcvi$ats$1@horus.mch.sni.de>
  17. NNTP-Posting-Host: watsun.cc.columbia.edu
  18. Xref: news.columbia.edu comp.protocols.kermit.misc:8473
  19.  
  20. In article <6dmcvi$ats$1@horus.mch.sni.de>,
  21. Michel Dalle <Michel.Dalle@sni.be> wrote:
  22. : Hi again,
  23. : My environment : 
  24. : - Windows NT 4.0
  25. : - Kermit 95 v1.1.15 (and v1.1.16beta)
  26. : - "Standard 28800 bps modem" defined on COM1 (TAPI) for serial connection, 
  27. : with just the default configuration options
  28. : - there is NO actual modem attached to COM1!!!  (or it is switched off) 
  29. : My basic script :
  30. :         set tapi line
  31. :         if fail echo TAPI failed
  32. :         input 10 {blabla }
  33. :         if fail echo Input failed with status \v(instatus)
  34. :         output \13\10
  35. :         if fail echo Output failed
  36. : What happens :
  37. : - set tapi line : never fails. --> NOT CORRECT !?
  38.  
  39. SET TAPI LINE fails if the device to which you are attempting to attach
  40. is either in use or is known to Windows to be not installed in the machine.
  41. For an external modem, this would be only if the serial port did not exist.
  42. Plug and Play devices will fail if they are not installed or turned off.
  43.  
  44. : - input 10 {blabla } : fails. 
  45. :   In v1.1.15, \v(instatus) is 1 (= Timed out). --> NOT CORRECT
  46. :   In v1.1.16beta, \v(instatus) is 3 (= Internal error), and Kermit shows me
  47. :   '?Connection to Standard 28800 bps Modem is not open'
  48.  
  49. 1.1.16 is the proper behavior.
  50.  
  51. : - output \13\10 : never fails. --> NOT CORRECT !?
  52.  
  53. This is a bug that has now been fixed in 1.1.16.
  54.  
  55. : (the same thing happens if I try "set line com1" instead of "set tapi line")
  56.  
  57. Because the serial port accepts the data.
  58.  
  59. : How can I, in this script, detect that there is a MODEM problem, rather than 
  60. : that the other side never sent me  'blabla ' ? The only clue I have is in 
  61. : v1.1.16beta, with the "internal error" status. But shouldn't the 'tapi' and 
  62. : the 'output' also fail ???
  63.  
  64. output 'yes', tapi 'no.
  65.  
  66.  
  67.     Jeffrey Altman * Sr.Software Designer * Kermit-95 for Win32 and OS/2
  68.                  The Kermit Project * Columbia University
  69.        612 West 115th St #716 * New York, NY * 10025 * (212) 854-1344
  70.     http://www.columbia.edu/kermit/k95.html * kermit-support@columbia.edu